.TH std::regex_iterator::operator==,operator!= 3 "2024.06.10" "http://cppreference.com" "C++ Standard Libary"
.SH NAME
std::regex_iterator::operator==,operator!= \- std::regex_iterator::operator==,operator!=

.SH Synopsis
   bool operator==( const regex_iterator& rhs ) const; \fB(1)\fP \fI(since C++11)\fP
   bool operator!=( const regex_iterator& rhs ) const; \fB(2)\fP \fI(since C++11)\fP
                                                           \fI(until C++20)\fP

   Compares two regex_iterators.

   The != operator is synthesized from operator==. \fI(since C++20)\fP

.SH Parameters

   rhs - a regex_iterator to compare to

.SH Return value

   For the sake of exposition, assume that regex_iterator contains the following
   members:

     * BidirIt begin;
     * BidirIt end;
     * const regex_type *pregex;
     * std::regex_constants::match_flag_type flags;
     * std::match_results<BidirIt> match;
   1) Returns true if *this and rhs are both end-of-sequence iterators, or if all of
   the following conditions are true:
     * begin == rhs.begin
     * end == rhs.end
     * pregex == rhs.pregex
     * flags == rhs.flags
     * match[0] == rhs.match[0]
   2) Returns !(*this == rhs).

.SH Example

    This section is incomplete
    Reason: no example

.SH Category:
     * Todo no example
